package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

/**
 * ClassName: SaleStatistic
 * Package: entity
 * Description: 电商平台销售趋势
 *
 * @Author LIEX
 * @create 2024/7/15 20:18
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Entity("saleStatistic")
public class SaleStatistic {
    @Id
    private String id;
    private Integer year;
    private Integer month;
    private Integer visitNum;
    private Integer saleNum;
}
